From 10ebe272c1a422c480f1fa7d383cf8c426052490 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Thu, 14 Aug 2014 15:47:49 +0200 Subject: [PATCH] configure: disable stubdomain build by default on FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Stubdomain code as-is doesn't compile on FreeBSD, so disable it for now in order to have a working build. Please re-run autoconf after committing. Signed-off-by: Roger Pau Monné Cc: Ian Jackson Acked-by: Ian Campbell --- configure | 6 ++++++ configure.ac | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/configure b/configure index a6efd3552a..5090baf27b 100755 --- a/configure +++ b/configure @@ -1916,6 +1916,12 @@ case "$host_cpu" in ;; esac +case "$host_os" in + freebsd*) + arch_enable_stubdom=n + ;; +esac + diff --git a/configure.ac b/configure.ac index f32f9af976..1843b527e0 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,13 @@ case "$host_cpu" in ;; esac +dnl Stubdomains need some work in order to compile on FreeBSD +case "$host_os" in + freebsd*) + arch_enable_stubdom=n + ;; +esac + AX_SUBSYSTEM_DEFAULT_ENABLE([xen]) AX_SUBSYSTEM_DEFAULT_ENABLE([tools]) AX_SUBSYSTEM_CONDITIONAL([stubdom], $arch_enable_stubdom) -- 2.30.2